package com.coocaa.ops.admin.v1.auth.sys.mapper;

import com.coocaa.ops.common.core.base.mapper.IBaseMapper;
import com.coocaa.ops.common.core.biz.auth.entity.SysMenuEntity;

import java.util.List;

/**
 * @author bijiahao
 * @date : 2019/3/11.
 * @description
 */
public interface ISysMenuMapper extends IBaseMapper<SysMenuEntity> {

    /**
     * 获取指定角色列表对应的菜单聚合,已去重
     * @param roleIds
     * @return
     */
    List<SysMenuEntity> listMenuByRoleIds(List<Integer> roleIds);
}
